3.222 \(\int \frac{(d-c^2 d x^2)^{3/2} (a+b \sin ^{-1}(c x))^2}{x} \, dx\)

Optimal. Leaf size=545 \[ \frac{2 i b d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (2,-e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{\sqrt{1-c^2 x^2}}-\frac{2 i b d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (2,e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{\sqrt{1-c^2 x^2}}-\frac{2 b^2 d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (3,-e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}+\frac{2 b^2 d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (3,e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}-\frac{2 a b c d x \sqrt{d-c^2 d x^2}}{\sqrt{1-c^2 x^2}}+\frac{2 b c^3 d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt{1-c^2 x^2}}-\frac{2 b c d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt{1-c^2 x^2}}+\frac{1}{3} \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac{2 d \sqrt{d-c^2 d x^2} \tanh ^{-1}\left (e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{\sqrt{1-c^2 x^2}}-\frac{22}{9} b^2 d \sqrt{d-c^2 d x^2}-\frac{2}{27} b^2 d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2}-\frac{2 b^2 c d x \sqrt{d-c^2 d x^2} \sin ^{-1}(c x)}{\sqrt{1-c^2 x^2}} \]

[Out]

(-22*b^2*d*Sqrt[d - c^2*d*x^2])/9 - (2*a*b*c*d*x*Sqrt[d - c^2*d*x^2])/Sqrt[1 - c^2*x^2] - (2*b^2*d*(1 - c^2*x^
2)*Sqrt[d - c^2*d*x^2])/27 - (2*b^2*c*d*x*Sqrt[d - c^2*d*x^2]*ArcSin[c*x])/Sqrt[1 - c^2*x^2] - (2*b*c*d*x*Sqrt
[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(3*Sqrt[1 - c^2*x^2]) + (2*b*c^3*d*x^3*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[
c*x]))/(9*Sqrt[1 - c^2*x^2]) + d*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^2 + ((d - c^2*d*x^2)^(3/2)*(a + b*Arc
Sin[c*x])^2)/3 - (2*d*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^2*ArcTanh[E^(I*ArcSin[c*x])])/Sqrt[1 - c^2*x^2]
+ ((2*I)*b*d*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])*PolyLog[2, -E^(I*ArcSin[c*x])])/Sqrt[1 - c^2*x^2] - ((2*I
)*b*d*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])*PolyLog[2, E^(I*ArcSin[c*x])])/Sqrt[1 - c^2*x^2] - (2*b^2*d*Sqrt
[d - c^2*d*x^2]*PolyLog[3, -E^(I*ArcSin[c*x])])/Sqrt[1 - c^2*x^2] + (2*b^2*d*Sqrt[d - c^2*d*x^2]*PolyLog[3, E^
(I*ArcSin[c*x])])/Sqrt[1 - c^2*x^2]

________________________________________________________________________________________

Rubi [A]  time = 0.603579, antiderivative size = 545, normalized size of antiderivative = 1., number of steps used = 17, number of rules used = 12, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.414, Rules used = {4699, 4697, 4709, 4183, 2531, 2282, 6589, 4619, 261, 4645, 444, 43} \[ \frac{2 i b d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (2,-e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{\sqrt{1-c^2 x^2}}-\frac{2 i b d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (2,e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{\sqrt{1-c^2 x^2}}-\frac{2 b^2 d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (3,-e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}+\frac{2 b^2 d \sqrt{d-c^2 d x^2} \text{PolyLog}\left (3,e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}-\frac{2 a b c d x \sqrt{d-c^2 d x^2}}{\sqrt{1-c^2 x^2}}+\frac{2 b c^3 d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt{1-c^2 x^2}}-\frac{2 b c d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt{1-c^2 x^2}}+\frac{1}{3} \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac{2 d \sqrt{d-c^2 d x^2} \tanh ^{-1}\left (e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{\sqrt{1-c^2 x^2}}-\frac{22}{9} b^2 d \sqrt{d-c^2 d x^2}-\frac{2}{27} b^2 d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2}-\frac{2 b^2 c d x \sqrt{d-c^2 d x^2} \sin ^{-1}(c x)}{\sqrt{1-c^2 x^2}} \]

Antiderivative was successfully verified.

[In]

Int[((d - c^2*d*x^2)^(3/2)*(a + b*ArcSin[c*x])^2)/x,x]

[Out]

(-22*b^2*d*Sqrt[d - c^2*d*x^2])/9 - (2*a*b*c*d*x*Sqrt[d - c^2*d*x^2])/Sqrt[1 - c^2*x^2] - (2*b^2*d*(1 - c^2*x^
2)*Sqrt[d - c^2*d*x^2])/27 - (2*b^2*c*d*x*Sqrt[d - c^2*d*x^2]*ArcSin[c*x])/Sqrt[1 - c^2*x^2] - (2*b*c*d*x*Sqrt
[d - c^2*d*x^2]*(a + b*ArcSin[c*x]))/(3*Sqrt[1 - c^2*x^2]) + (2*b*c^3*d*x^3*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[
c*x]))/(9*Sqrt[1 - c^2*x^2]) + d*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^2 + ((d - c^2*d*x^2)^(3/2)*(a + b*Arc
Sin[c*x])^2)/3 - (2*d*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])^2*ArcTanh[E^(I*ArcSin[c*x])])/Sqrt[1 - c^2*x^2]
+ ((2*I)*b*d*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])*PolyLog[2, -E^(I*ArcSin[c*x])])/Sqrt[1 - c^2*x^2] - ((2*I
)*b*d*Sqrt[d - c^2*d*x^2]*(a + b*ArcSin[c*x])*PolyLog[2, E^(I*ArcSin[c*x])])/Sqrt[1 - c^2*x^2] - (2*b^2*d*Sqrt
[d - c^2*d*x^2]*PolyLog[3, -E^(I*ArcSin[c*x])])/Sqrt[1 - c^2*x^2] + (2*b^2*d*Sqrt[d - c^2*d*x^2]*PolyLog[3, E^
(I*ArcSin[c*x])])/Sqrt[1 - c^2*x^2]

Rule 4699

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[
((f*x)^(m + 1)*(d + e*x^2)^p*(a + b*ArcSin[c*x])^n)/(f*(m + 2*p + 1)), x] + (Dist[(2*d*p)/(m + 2*p + 1), Int[(
f*x)^m*(d + e*x^2)^(p - 1)*(a + b*ArcSin[c*x])^n, x], x] - Dist[(b*c*n*d^IntPart[p]*(d + e*x^2)^FracPart[p])/(
f*(m + 2*p + 1)*(1 - c^2*x^2)^FracPart[p]), Int[(f*x)^(m + 1)*(1 - c^2*x^2)^(p - 1/2)*(a + b*ArcSin[c*x])^(n -
 1), x], x]) /; FreeQ[{a, b, c, d, e, f, m}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && GtQ[p, 0] &&  !LtQ[m, -1]
 && (RationalQ[m] || EqQ[n, 1])

Rule 4697

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[((
f*x)^(m + 1)*Sqrt[d + e*x^2]*(a + b*ArcSin[c*x])^n)/(f*(m + 2)), x] + (Dist[Sqrt[d + e*x^2]/((m + 2)*Sqrt[1 -
c^2*x^2]), Int[((f*x)^m*(a + b*ArcSin[c*x])^n)/Sqrt[1 - c^2*x^2], x], x] - Dist[(b*c*n*Sqrt[d + e*x^2])/(f*(m
+ 2)*Sqrt[1 - c^2*x^2]), Int[(f*x)^(m + 1)*(a + b*ArcSin[c*x])^(n - 1), x], x]) /; FreeQ[{a, b, c, d, e, f, m}
, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] &&  !LtQ[m, -1] && (RationalQ[m] || EqQ[n, 1])

Rule 4709

Int[(((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_))/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Dist[1/(c^(m
+ 1)*Sqrt[d]), Subst[Int[(a + b*x)^n*Sin[x]^m, x], x, ArcSin[c*x]], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2
*d + e, 0] && GtQ[d, 0] && IGtQ[n, 0] && IntegerQ[m]

Rule 4183

Int[csc[(e_.) + (f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[(-2*(c + d*x)^m*ArcTanh[E^(I*(e + f*
x))])/f, x] + (-Dist[(d*m)/f, Int[(c + d*x)^(m - 1)*Log[1 - E^(I*(e + f*x))], x], x] + Dist[(d*m)/f, Int[(c +
d*x)^(m - 1)*Log[1 + E^(I*(e + f*x))], x], x]) /; FreeQ[{c, d, e, f}, x] && IGtQ[m, 0]

Rule 2531

Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> -Simp[((
f + g*x)^m*PolyLog[2, -(e*(F^(c*(a + b*x)))^n)])/(b*c*n*Log[F]), x] + Dist[(g*m)/(b*c*n*Log[F]), Int[(f + g*x)
^(m - 1)*PolyLog[2, -(e*(F^(c*(a + b*x)))^n)], x], x] /; FreeQ[{F, a, b, c, e, f, g, n}, x] && GtQ[m, 0]

Rule 2282

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 6589

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rule 4619

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.), x_Symbol] :> Simp[x*(a + b*ArcSin[c*x])^n, x] - Dist[b*c*n, Int[
(x*(a + b*ArcSin[c*x])^(n - 1))/Sqrt[1 - c^2*x^2], x], x] /; FreeQ[{a, b, c}, x] && GtQ[n, 0]

Rule 261

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n)^(p + 1)/(b*n*(p + 1)), x] /; FreeQ
[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rule 4645

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> With[{u = IntHide[(d + e*x^2)
^p, x]}, Dist[a + b*ArcSin[c*x], u, x] - Dist[b*c, Int[SimplifyIntegrand[u/Sqrt[1 - c^2*x^2], x], x], x]] /; F
reeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IGtQ[p, 0]

Rule 444

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] && NeQ[b*c - a*d, 0] && EqQ[m
- n + 1, 0]

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin{align*} \int \frac{\left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2}{x} \, dx &=\frac{1}{3} \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+d \int \frac{\sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{x} \, dx-\frac{\left (2 b c d \sqrt{d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right ) \, dx}{3 \sqrt{1-c^2 x^2}}\\ &=-\frac{2 b c d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt{1-c^2 x^2}}+\frac{2 b c^3 d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt{1-c^2 x^2}}+d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{3} \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \int \frac{\left (a+b \sin ^{-1}(c x)\right )^2}{x \sqrt{1-c^2 x^2}} \, dx}{\sqrt{1-c^2 x^2}}-\frac{\left (2 b c d \sqrt{d-c^2 d x^2}\right ) \int \left (a+b \sin ^{-1}(c x)\right ) \, dx}{\sqrt{1-c^2 x^2}}+\frac{\left (2 b^2 c^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{x \left (1-\frac{c^2 x^2}{3}\right )}{\sqrt{1-c^2 x^2}} \, dx}{3 \sqrt{1-c^2 x^2}}\\ &=-\frac{2 a b c d x \sqrt{d-c^2 d x^2}}{\sqrt{1-c^2 x^2}}-\frac{2 b c d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt{1-c^2 x^2}}+\frac{2 b c^3 d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt{1-c^2 x^2}}+d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{3} \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int (a+b x)^2 \csc (x) \, dx,x,\sin ^{-1}(c x)\right )}{\sqrt{1-c^2 x^2}}-\frac{\left (2 b^2 c d \sqrt{d-c^2 d x^2}\right ) \int \sin ^{-1}(c x) \, dx}{\sqrt{1-c^2 x^2}}+\frac{\left (b^2 c^2 d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \frac{1-\frac{c^2 x}{3}}{\sqrt{1-c^2 x}} \, dx,x,x^2\right )}{3 \sqrt{1-c^2 x^2}}\\ &=-\frac{2 a b c d x \sqrt{d-c^2 d x^2}}{\sqrt{1-c^2 x^2}}-\frac{2 b^2 c d x \sqrt{d-c^2 d x^2} \sin ^{-1}(c x)}{\sqrt{1-c^2 x^2}}-\frac{2 b c d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt{1-c^2 x^2}}+\frac{2 b c^3 d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt{1-c^2 x^2}}+d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{3} \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac{2 d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \tanh ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}-\frac{\left (2 b d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int (a+b x) \log \left (1-e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{\sqrt{1-c^2 x^2}}+\frac{\left (2 b d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int (a+b x) \log \left (1+e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{\sqrt{1-c^2 x^2}}+\frac{\left (b^2 c^2 d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \left (\frac{2}{3 \sqrt{1-c^2 x}}+\frac{1}{3} \sqrt{1-c^2 x}\right ) \, dx,x,x^2\right )}{3 \sqrt{1-c^2 x^2}}+\frac{\left (2 b^2 c^2 d \sqrt{d-c^2 d x^2}\right ) \int \frac{x}{\sqrt{1-c^2 x^2}} \, dx}{\sqrt{1-c^2 x^2}}\\ &=-\frac{22}{9} b^2 d \sqrt{d-c^2 d x^2}-\frac{2 a b c d x \sqrt{d-c^2 d x^2}}{\sqrt{1-c^2 x^2}}-\frac{2}{27} b^2 d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2}-\frac{2 b^2 c d x \sqrt{d-c^2 d x^2} \sin ^{-1}(c x)}{\sqrt{1-c^2 x^2}}-\frac{2 b c d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt{1-c^2 x^2}}+\frac{2 b c^3 d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt{1-c^2 x^2}}+d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{3} \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac{2 d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \tanh ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}+\frac{2 i b d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (-e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}-\frac{2 i b d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}-\frac{\left (2 i b^2 d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \text{Li}_2\left (-e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{\sqrt{1-c^2 x^2}}+\frac{\left (2 i b^2 d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \text{Li}_2\left (e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{\sqrt{1-c^2 x^2}}\\ &=-\frac{22}{9} b^2 d \sqrt{d-c^2 d x^2}-\frac{2 a b c d x \sqrt{d-c^2 d x^2}}{\sqrt{1-c^2 x^2}}-\frac{2}{27} b^2 d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2}-\frac{2 b^2 c d x \sqrt{d-c^2 d x^2} \sin ^{-1}(c x)}{\sqrt{1-c^2 x^2}}-\frac{2 b c d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt{1-c^2 x^2}}+\frac{2 b c^3 d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt{1-c^2 x^2}}+d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{3} \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac{2 d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \tanh ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}+\frac{2 i b d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (-e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}-\frac{2 i b d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}-\frac{\left (2 b^2 d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2(-x)}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}+\frac{\left (2 b^2 d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2(x)}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}\\ &=-\frac{22}{9} b^2 d \sqrt{d-c^2 d x^2}-\frac{2 a b c d x \sqrt{d-c^2 d x^2}}{\sqrt{1-c^2 x^2}}-\frac{2}{27} b^2 d \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2}-\frac{2 b^2 c d x \sqrt{d-c^2 d x^2} \sin ^{-1}(c x)}{\sqrt{1-c^2 x^2}}-\frac{2 b c d x \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{3 \sqrt{1-c^2 x^2}}+\frac{2 b c^3 d x^3 \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{9 \sqrt{1-c^2 x^2}}+d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac{1}{3} \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac{2 d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \tanh ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}+\frac{2 i b d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (-e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}-\frac{2 i b d \sqrt{d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}-\frac{2 b^2 d \sqrt{d-c^2 d x^2} \text{Li}_3\left (-e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}+\frac{2 b^2 d \sqrt{d-c^2 d x^2} \text{Li}_3\left (e^{i \sin ^{-1}(c x)}\right )}{\sqrt{1-c^2 x^2}}\\ \end{align*}

Mathematica [A]  time = 2.48199, size = 576, normalized size = 1.06 \[ \frac{2 a b d \sqrt{d-c^2 d x^2} \left (i \text{PolyLog}\left (2,-e^{i \sin ^{-1}(c x)}\right )-i \text{PolyLog}\left (2,e^{i \sin ^{-1}(c x)}\right )+\sqrt{1-c^2 x^2} \sin ^{-1}(c x)-c x+\sin ^{-1}(c x) \log \left (1-e^{i \sin ^{-1}(c x)}\right )-\sin ^{-1}(c x) \log \left (1+e^{i \sin ^{-1}(c x)}\right )\right )}{\sqrt{1-c^2 x^2}}-\frac{b^2 d \sqrt{d-c^2 d x^2} \left (-2 i \sin ^{-1}(c x) \left (\text{PolyLog}\left (2,-e^{i \sin ^{-1}(c x)}\right )-\text{PolyLog}\left (2,e^{i \sin ^{-1}(c x)}\right )\right )+2 \left (\text{PolyLog}\left (3,-e^{i \sin ^{-1}(c x)}\right )-\text{PolyLog}\left (3,e^{i \sin ^{-1}(c x)}\right )\right )+2 \sqrt{1-c^2 x^2}-\sqrt{1-c^2 x^2} \sin ^{-1}(c x)^2+2 c x \sin ^{-1}(c x)+\sin ^{-1}(c x)^2 \left (-\left (\log \left (1-e^{i \sin ^{-1}(c x)}\right )-\log \left (1+e^{i \sin ^{-1}(c x)}\right )\right )\right )\right )}{\sqrt{1-c^2 x^2}}-a^2 d^{3/2} \log \left (\sqrt{d} \sqrt{d-c^2 d x^2}+d\right )-\frac{1}{3} a^2 d \left (c^2 x^2-4\right ) \sqrt{d-c^2 d x^2}+a^2 d^{3/2} \log (c x)-\frac{a b d \sqrt{d-c^2 d x^2} \left (-3 \sin ^{-1}(c x) \left (3 \sqrt{1-c^2 x^2}+\cos \left (3 \sin ^{-1}(c x)\right )\right )+9 c x+\sin \left (3 \sin ^{-1}(c x)\right )\right )}{18 \sqrt{1-c^2 x^2}}+\frac{b^2 d \sqrt{d-c^2 d x^2} \left (27 \sqrt{1-c^2 x^2} \left (\sin ^{-1}(c x)^2-2\right )-6 \sin ^{-1}(c x) \left (9 c x+\sin \left (3 \sin ^{-1}(c x)\right )\right )+\left (9 \sin ^{-1}(c x)^2-2\right ) \cos \left (3 \sin ^{-1}(c x)\right )\right )}{108 \sqrt{1-c^2 x^2}} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[((d - c^2*d*x^2)^(3/2)*(a + b*ArcSin[c*x])^2)/x,x]

[Out]

-(a^2*d*(-4 + c^2*x^2)*Sqrt[d - c^2*d*x^2])/3 + a^2*d^(3/2)*Log[c*x] - a^2*d^(3/2)*Log[d + Sqrt[d]*Sqrt[d - c^
2*d*x^2]] + (2*a*b*d*Sqrt[d - c^2*d*x^2]*(-(c*x) + Sqrt[1 - c^2*x^2]*ArcSin[c*x] + ArcSin[c*x]*Log[1 - E^(I*Ar
cSin[c*x])] - ArcSin[c*x]*Log[1 + E^(I*ArcSin[c*x])] + I*PolyLog[2, -E^(I*ArcSin[c*x])] - I*PolyLog[2, E^(I*Ar
cSin[c*x])]))/Sqrt[1 - c^2*x^2] - (b^2*d*Sqrt[d - c^2*d*x^2]*(2*Sqrt[1 - c^2*x^2] + 2*c*x*ArcSin[c*x] - Sqrt[1
 - c^2*x^2]*ArcSin[c*x]^2 - ArcSin[c*x]^2*(Log[1 - E^(I*ArcSin[c*x])] - Log[1 + E^(I*ArcSin[c*x])]) - (2*I)*Ar
cSin[c*x]*(PolyLog[2, -E^(I*ArcSin[c*x])] - PolyLog[2, E^(I*ArcSin[c*x])]) + 2*(PolyLog[3, -E^(I*ArcSin[c*x])]
 - PolyLog[3, E^(I*ArcSin[c*x])])))/Sqrt[1 - c^2*x^2] - (a*b*d*Sqrt[d - c^2*d*x^2]*(9*c*x - 3*ArcSin[c*x]*(3*S
qrt[1 - c^2*x^2] + Cos[3*ArcSin[c*x]]) + Sin[3*ArcSin[c*x]]))/(18*Sqrt[1 - c^2*x^2]) + (b^2*d*Sqrt[d - c^2*d*x
^2]*(27*Sqrt[1 - c^2*x^2]*(-2 + ArcSin[c*x]^2) + (-2 + 9*ArcSin[c*x]^2)*Cos[3*ArcSin[c*x]] - 6*ArcSin[c*x]*(9*
c*x + Sin[3*ArcSin[c*x]])))/(108*Sqrt[1 - c^2*x^2])

________________________________________________________________________________________

Maple [B]  time = 0.322, size = 1276, normalized size = 2.3 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-c^2*d*x^2+d)^(3/2)*(a+b*arcsin(c*x))^2/x,x)

[Out]

b^2*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x^2+1)^(1/2)/(c^2*x^2-1)*d*arcsin(c*x)^2*ln(1+I*c*x+(-c^2*x^2+1)^(1/2))-b^2*(
-d*(c^2*x^2-1))^(1/2)*(-c^2*x^2+1)^(1/2)/(c^2*x^2-1)*d*arcsin(c*x)^2*ln(1-I*c*x-(-c^2*x^2+1)^(1/2))-1/3*b^2*(-
d*(c^2*x^2-1))^(1/2)*d/(c^2*x^2-1)*arcsin(c*x)^2*x^4*c^4+5/3*b^2*(-d*(c^2*x^2-1))^(1/2)*d/(c^2*x^2-1)*arcsin(c
*x)^2*x^2*c^2+2*I*a*b*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x^2+1)^(1/2)/(c^2*x^2-1)*d*polylog(2,I*c*x+(-c^2*x^2+1)^(1/
2))-2/9*a*b*(-d*(c^2*x^2-1))^(1/2)*d/(c^2*x^2-1)*(-c^2*x^2+1)^(1/2)*x^3*c^3+8/3*a*b*(-d*(c^2*x^2-1))^(1/2)*d/(
c^2*x^2-1)*(-c^2*x^2+1)^(1/2)*x*c-2*I*b^2*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x^2+1)^(1/2)/(c^2*x^2-1)*d*arcsin(c*x)*
polylog(2,-I*c*x-(-c^2*x^2+1)^(1/2))+2*a*b*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x^2+1)^(1/2)/(c^2*x^2-1)*d*arcsin(c*x)
*ln(1+I*c*x+(-c^2*x^2+1)^(1/2))-2*a*b*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x^2+1)^(1/2)/(c^2*x^2-1)*d*arcsin(c*x)*ln(1
-I*c*x-(-c^2*x^2+1)^(1/2))-2/9*b^2*(-d*(c^2*x^2-1))^(1/2)*d/(c^2*x^2-1)*arcsin(c*x)*(-c^2*x^2+1)^(1/2)*x^3*c^3
+2*I*b^2*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x^2+1)^(1/2)/(c^2*x^2-1)*d*arcsin(c*x)*polylog(2,I*c*x+(-c^2*x^2+1)^(1/2
))+8/3*b^2*(-d*(c^2*x^2-1))^(1/2)*d/(c^2*x^2-1)*arcsin(c*x)*(-c^2*x^2+1)^(1/2)*x*c-2/3*a*b*(-d*(c^2*x^2-1))^(1
/2)*d/(c^2*x^2-1)*arcsin(c*x)*x^4*c^4+10/3*a*b*(-d*(c^2*x^2-1))^(1/2)*d/(c^2*x^2-1)*arcsin(c*x)*x^2*c^2-2*I*a*
b*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x^2+1)^(1/2)/(c^2*x^2-1)*d*polylog(2,-I*c*x-(-c^2*x^2+1)^(1/2))-a^2*d^(3/2)*ln(
(2*d+2*d^(1/2)*(-c^2*d*x^2+d)^(1/2))/x)+a^2*(-c^2*d*x^2+d)^(1/2)*d+68/27*b^2*(-d*(c^2*x^2-1))^(1/2)*d/(c^2*x^2
-1)+1/3*(-c^2*d*x^2+d)^(3/2)*a^2+2/27*b^2*(-d*(c^2*x^2-1))^(1/2)*d/(c^2*x^2-1)*c^4*x^4-70/27*b^2*(-d*(c^2*x^2-
1))^(1/2)*d/(c^2*x^2-1)*c^2*x^2+2*b^2*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x^2+1)^(1/2)/(c^2*x^2-1)*d*polylog(3,-I*c*x
-(-c^2*x^2+1)^(1/2))-2*b^2*(-d*(c^2*x^2-1))^(1/2)*(-c^2*x^2+1)^(1/2)/(c^2*x^2-1)*d*polylog(3,I*c*x+(-c^2*x^2+1
)^(1/2))-8/3*a*b*(-d*(c^2*x^2-1))^(1/2)*d/(c^2*x^2-1)*arcsin(c*x)-4/3*b^2*(-d*(c^2*x^2-1))^(1/2)*d/(c^2*x^2-1)
*arcsin(c*x)^2

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-c^2*d*x^2+d)^(3/2)*(a+b*arcsin(c*x))^2/x,x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{{\left (a^{2} c^{2} d x^{2} - a^{2} d +{\left (b^{2} c^{2} d x^{2} - b^{2} d\right )} \arcsin \left (c x\right )^{2} + 2 \,{\left (a b c^{2} d x^{2} - a b d\right )} \arcsin \left (c x\right )\right )} \sqrt{-c^{2} d x^{2} + d}}{x}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-c^2*d*x^2+d)^(3/2)*(a+b*arcsin(c*x))^2/x,x, algorithm="fricas")

[Out]

integral(-(a^2*c^2*d*x^2 - a^2*d + (b^2*c^2*d*x^2 - b^2*d)*arcsin(c*x)^2 + 2*(a*b*c^2*d*x^2 - a*b*d)*arcsin(c*
x))*sqrt(-c^2*d*x^2 + d)/x, x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-c**2*d*x**2+d)**(3/2)*(a+b*asin(c*x))**2/x,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (-c^{2} d x^{2} + d\right )}^{\frac{3}{2}}{\left (b \arcsin \left (c x\right ) + a\right )}^{2}}{x}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-c^2*d*x^2+d)^(3/2)*(a+b*arcsin(c*x))^2/x,x, algorithm="giac")

[Out]

integrate((-c^2*d*x^2 + d)^(3/2)*(b*arcsin(c*x) + a)^2/x, x)